Click to See Complete Forum and Search --> : Download index.php


Ipsens
October 22nd, 2006, 06:35 PM
When my apache server crashed I went to my url and was offered to download index.php.

I was shocked because insted of getting a file size of 0kb , what I did get was a full file size and I was able to read code from it!

How do I fix that and why did that happened? :eek:

PeejAvery
October 22nd, 2006, 07:19 PM
Your server is not recognizing PHP as being installed.

Ipsens
October 22nd, 2006, 08:09 PM
Just one qusetion!

how do I delete zend optimizer from FreeBSD?
NOT a package so pkg_delete won't do the trick!

Trust that will remove problems

PeejAvery
October 22nd, 2006, 10:00 PM
I don't think that will solve your problem, but...

In order to uninstall the Optimizer, please follow these steps:

1. Replace the php.ini file with the backed up copy (php.ini-zend_optimizer.bak).
2. Delete the Optimizer installation directory.
Important note: If you have other Zend products installed under the same directory,
do not delete the installation directory. In this case, you should only change the php.ini
file.

Ipsens
October 23rd, 2006, 06:54 AM
Thanks I've already solved it.
We got a same source.

But real problem was couse I upgraded from MySQL 5.0.18 to 5.0.26 on Freebsd 6.1.

I needed to manualy compile it both MySQL 5.0.18 and PHP 5.1.6

Uf that was frustrting!

It is much simpler and easier on windows!