So i'm porting my site over to my new server, and it's pretty bare.
I have apache 1.3 with php 4.3.11 and now apparently 4.4.0
why two version? i'll explain:
So i was trying to get the GD library working with my app. specifically it was telling me that it couldn't find the imagejpeg function. no biggie i thought, an excuse to upgrade to 4.4.0 i'll just recompile php with gd and everyone will be happy.
i used this configure directive:
Code:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quotes --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --enable-versioning --with-zlib --with-gd
anyways so i restart apache and voila... phpinfo() is telling me i have php4.4.0 - yay, so i go to resize my image and i'm stuck with the error. i gave up
This morning i was going through phpmyadmin and decided to check the php version it's using. and sure enough, a phpinfo() provoked from there is still 4.3.11 - so i'm wondering is it possible that apache is still pointing to the original php, and fi so? where?! the problem is this stupid cpanel program they installed. i wanted a clean slate so i knew what was where. but oh well.