php,mysql and apache
hi everybody,
i have installed php,mysql and apache manually,and i have checked it is installed properly or not, [root@server ~]# rpm -q httpd httpd-2.2.15-5.el6.x86_64 [root@server ~]# rpm -q mysql mysql-5.1.47-4.el6.x86_64 [root@server ~]# rpm -q php php-5.3.2-6.el6.x86_64 [root@server ~]# i want to configure locally on my machine, i don't know about any configuration file and i don't know how to configure because iam newer to this rhel6 and after configure how to check php,mysql and apache is configured properly. if somebody guide me to right way i'll be greatful. |
The webserver default folder is
Quote:
or by you server's IP address .. If you want to secure you website there are separate tutorials ...Do some google.. |
paste phpinfo.php file in /var/www
go to url firefox http://ipaddress/phpinfo.php it will display the php info then ur php conf is wright for apache got to firefox type http://localhost apache page will appears the apache is conf for mysql create a root user for mysql and assign password to it mysql -uroot -p prompt for password:password mysql> then ur login wright |
Quote:
Quote:
Quote:
Quote:
|
Hate to disagree with you ;) , but in this case
Quote:
Quote:
|
Quote:
|
Hi
Your server has the config files located at: Apache (HTTP) : /etc/httpd/conf/httpd.conf PHP : /etc/php.ini MySQL : /etc/my.cnf (which isn't really that much to configure, more useful is to run it first with: service mysqld restart and then using TB0ne commands) Remember: all services need to be started to have it checked if they work. Apache can be easily misconfigured if you don't know what you're doing, so always check it first with: apachectl -t to see the output (must be: Syntax OK) |
Thanks tbone for ur reply
Regards arun |
All times are GMT -5. The time now is 03:17 AM. |