Configuring PHP with pre installed mysql
Hi guys. I have a problem i installed Fedora 10 on my HP computer (clean installation) Apache, mysql and php were installed at this time. I am however failing to configure PHP and PHP my admin as all the tutorials i have read through refer to files and folders that are either not there or in the wrong place. for example the file /php/config.php does not exist in the original installation of php and the file is only found in
/usr/share/phpMyAdmin/ /usr/share/tiqui /etc/phpldapadmin /etc/tiquit/ the module libphp5.so is not were php says it shoul should be and when i copy it to the location as per the tutorial httpd cant start but says it cant load the specified module Any help on properly configuring PHP and myphpadmin would be helpful |
On my Fedora system the relevant config files are in /etc:
Quote:
Linux Archive |
JaksoDebr thanks for replying. I installed Mysql and Mysqladmin using add/remove programs and following isntallation instructions from Mysql site everything is working normally. I did the same for apache 2.2.10 and its is good to go. PHP and PHPmyadmin are still problematic.
As per the tutorial, 1. libphp5.so is not in "/usr/local/apache/modules/" but in "/usr/lib/httpd/modules/libphp5.so" 2.Am told to add or edit these lines in httpd.conf # Use for PHP 5.x: LoadModule php5_module libphp5.so AddHandler php5-script php # Add index.php to your DirectoryIndex line: DirectoryIndex index.html index.php AddType text/html php # PHP Syntax Coloring # (optional but useful for reading PHP source for debugging): AddType application/x-httpd-php-source phps BUT, the module for PHP5 /libphp5.so cant be loaded. it gives the error "Starting httpd: httpd: Syntax error on line 213 of /etc/httpd/conf/httpd.conf: Can't locate API module structure `php_module' in file /usr/lib/httpd/modules/libphp5.so: /etc/httpd/modules/libphp5.so: undefined symbol: php_module " PLEASE advise on thr coorect es== |
JaksoDebr
PS: the last part was supposed to be :- Please advise on proper configuration and correct entries. Thanks a lot |
All times are GMT -5. The time now is 10:33 PM. |