Apache+Php
Apache+Php
a.a.
i m given a task to create a webpage for LAN users. where they can put their daily routine tasks(in single page only) in short words. the page is accessed by a username and password...
i m downloading PHP and Apache packages but dont know where to start.plz guide me how to start and complete this task.....
i'll b thankful to u...
A.H.
i m given a task to create a webpage for LAN users. where they can put their daily routine tasks(in single page only) in short words. the page is accessed by a username and password...
i m downloading PHP and Apache packages but dont know where to start.plz guide me how to start and complete this task.....
i'll b thankful to u...
A.H.
Hello.
Well you do not need to download packages all you need are in the 3
CDs of Redhat 9
Go to redhat package manager. Add Remove Programs.
Look for something like server packages. Install Apache, PHP and all related stuff related to PHP and Apache(httpd). Also install MySQL server packages
along with PHP/MySQL extention.
1. First you have to create a database roughly there would be two tables.
auth table (username, password)
daily_data table (username, data, date)
2. Then you can create the php script that will authinticate using MySQL db
and save the session for particular user. Then the user will save the data
on daily basis.
It is very simple Add. Update and Insert PHP/MySQL application as far as i got from you.
Well you do not need to download packages all you need are in the 3
CDs of Redhat 9
Go to redhat package manager. Add Remove Programs.
Look for something like server packages. Install Apache, PHP and all related stuff related to PHP and Apache(httpd). Also install MySQL server packages
along with PHP/MySQL extention.
1. First you have to create a database roughly there would be two tables.
auth table (username, password)
daily_data table (username, data, date)
2. Then you can create the php script that will authinticate using MySQL db
and save the session for particular user. Then the user will save the data
on daily basis.
It is very simple Add. Update and Insert PHP/MySQL application as far as i got from you.
01101101 01100001 01101010 01101001 01100100
-
- Battalion Havaldaar Major
- Posts: 286
- Joined: Fri Oct 17, 2003 12:15 am
- Location: Karachi
- Contact:
As you said before that you are given that task so do it yourself.try to use LAMPIXX which is a whole LAMP live distro(Linux+Apache+MySQL+PHP).
Good Judgement comes from Experience and Experience comes from bad Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!
Registered Linux user #333501
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!
Registered Linux user #333501
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear sapheroth,
Salam,
Better if you can learn how to install and configure these applications. If you do not have time then go with Zaheer option.
FYI, http://www.lamphowto.com/lampssl.htm and http://www.lamphowto.com/lamp.htm
Best Regards.
Salam,
Better if you can learn how to install and configure these applications. If you do not have time then go with Zaheer option.
FYI, http://www.lamphowto.com/lampssl.htm and http://www.lamphowto.com/lamp.htm
Best Regards.
Farrukh Ahmed
i m trying to install and configure all the stuff from the site
http://hostlibrary.com/installing_apach ... p_on_linux
i installed and configured apache as the site stated but when i try to configure mysql from the this code
"./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --disable-maintainer-mode --with-mysqld-user=mysql --enable-large-files-without-debug"
i get this msg and the configuration process stops.
[root@feedback mysql-5.0.27]# Starting mysqld daemon with databases from /usr/local/src/mysql-5.0.27/data
STOPPING server from pid file /usr/local/src/mysql-5.0.27/data/feedback.pid
070228 13:16:52 mysqld ended
plz guide me how to configure mysql.
thanx
http://hostlibrary.com/installing_apach ... p_on_linux
i installed and configured apache as the site stated but when i try to configure mysql from the this code
"./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --disable-maintainer-mode --with-mysqld-user=mysql --enable-large-files-without-debug"
i get this msg and the configuration process stops.
[root@feedback mysql-5.0.27]# Starting mysqld daemon with databases from /usr/local/src/mysql-5.0.27/data
STOPPING server from pid file /usr/local/src/mysql-5.0.27/data/feedback.pid
070228 13:16:52 mysqld ended
plz guide me how to configure mysql.
thanx
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear sapheroth,
Salam,
Can you post your my.cnf or the way you are trying to start mysql daemon.
Best Regards.
Salam,
Can you post your my.cnf or the way you are trying to start mysql daemon.
Best Regards.
Farrukh Ahmed
ok i m sending my.cnf file....
but i told you that i m just following those two websites and didnt put any code other than mentioned in these websites.
the my.cnf file states
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
~
~
~
~
~
~
~
~
~
~
"/etc/my.cnf" 11L, 193C
but i told you that i m just following those two websites and didnt put any code other than mentioned in these websites.
the my.cnf file states
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
~
~
~
~
~
~
~
~
~
~
"/etc/my.cnf" 11L, 193C
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear sapheroth,
Salam,
How you are starting mysql daemon ?
use mysqld --defaults-file=/path/to/your/my.cnf and make sure you have /var/lib/mysql exists with user and group owner ship from which you are running mysql server. normally it will be run by mysql user and mysql group.
Best Regards.
Salam,
How you are starting mysql daemon ?
use mysqld --defaults-file=/path/to/your/my.cnf and make sure you have /var/lib/mysql exists with user and group owner ship from which you are running mysql server. normally it will be run by mysql user and mysql group.
Best Regards.
Farrukh Ahmed