allow_url_fopen and tmp problem

#1
Hello,
i'm LiteSpeed 2cpu ent. licensed user. I'm using Centos 5.3 with cpanel latest.

i have 2 problems.

* allow_url_fopen is ON in /usr/local/lsws/admin/conf/php.ini but file_get_contents and some curl functions not running. I used php.ini (allow_url_fopen = On) but not runned.

* My tmp size is 2 gb. The folder size fill up within 12-15 hours. I'm using a corntab script rm -rf /tmp/* . But i don't like this. What else can I do?

Thank you for your valuable assistance.
Regards.
BND Corp
 
#5
i'm using centos 5.3 (64 bit) with cpanel 11.25. Some php files not runing. But blogs, forums running. I did not understand it. this crazy problem.

Example: serverproxies.com blog is running but serverproxies.com/phpinfo.php not running.

serverproxies.com/phpinfo.php codes:

<?php
echo phpinfo();
?>

Thank you for your support.
 

mistwang

LiteSpeed Staff
#8
looks like that file has been served as static html file.
Please check the .htaccess see if something override the MIME type for ".php" to "text/html".
 
#9
htaccess:


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress


I changed directory for this page. But i see same empty page.

serverproxies.com/deneme/test.php
 
#10
and error_lod said:
[01-Mar-2010 22:02:56] PHP Warning: phpinfo() has been disabled for security reasons in /home/serverpr/public_html/deneme/test.php on line 2
 
Top