2 problems with PHP - using custombuild

Chad McCan

New member
Joined
Dec 1, 2008
Messages
4
Problem #1 I have had before and fixed it. Right now, some templates are not parsed as php, such as here - http://www.timemachinephoto.com/. I believe in the past I fixed this by changing the symlink in /usr/local/bin/php to point to /usr/local/php5/bin/php-cgi. I did that this time and it still doesn't work... Parts of the DA control panel templates aren't parsed either, same deal.

Maybe it's got something to do with my configure line - http://bidonthat.com/phpinfo.php

This started after I updated to the newest php-cgi using custombuild.

#2 Is the original problem that I started down this path with. I can't get the mysql version that php is using to update. I updated mysql and then did ./build php n and it doesn't change the version phpmyadmin sees. Any ideas?
 
Try:
Code:
/usr/local/directadmin/custombuild
./build rewrite_confs

Your 1st problem could be caused by FilesMatch directive too.

About the 2nd one - do "rpm -qa | grep '^MySQL'" and see if you really have the latest version.
 
Rewrite confs has been done and nothing changed. Here is the output from my rpm query...

leroy:/usr/local/directadmin/custombuild >rpm -qa | grep '^MySQL'
MySQL-server-4.1.11-0
MySQL-client-5.0.67-0
MySQL-shared-5.0.67-0
MySQL-devel-5.0.67-0
MySQL-server-standard-4.1.14-0.rhel4

Looks like the server rpm isn't getting installed?
 
Code:
rpm -e --nodeps MySQL-server-4.1.11-0 MySQL-client-5.0.67-0 MySQL-shared-5.0.67-0 MySQL-devel-5.0.67-0 MySQL-server-standard-4.1.14-0.rhel4
Then:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build mysql
 
Okay, I got mysql upgraded and starting. I don't have full access to my Innodb tables yet, so I'm working on that.

Any ideas on my php parsing problem?
 
Back
Top