With cPanel, you do not need to recompile the whole easyapache to get your PHP or suEXEC to be run, you may easily get the PHP work with the rebuild_phpconf script to update the php.conf file.
To see a list of all options and arguments for the script, you may type the following from the command line,
If you wish to use PHP 5, CGI handler and enable suEXEC, you might type as,
/usr/local/cpanel/bin/rebuild_phpconf 5 cgi cgi 1
If you wish to use PHP 5, suPHP and enable suEXEC, you might type as
/usr/local/cpanel/bin/rebuild_phpconf 5 suphp suphp 1
The available PHP handler is as cgi, dso, none, fcgi and suphp.
For security purpose, you might want to hide your PHP version from the server.
To turn off the PHP version from your server, edit your php.ini file, then change the PHP option as below.
expose_php = Off
Then restart the Apache services.
Today I found out that the cPanel do not working well with the Fantastico DeLuxe and I have no idea what it is going on at first as there do not have any error from the server.
1. Fantastico showing installation configuration file and database with ERROR.
2. No web file in the public_html folder.
3. Database is not configured properly(no table and data).
After long time tested and checked. Finally I am able to get some hint from the cPanel error_log.
PHP Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1289814352.9866F8Ane8kVMm on line 979
I have immediate go to php.ini file and check for the disable_function and found out shell_exec and system is being listed.
To overcome it, I have putting a semi-colon “;” to the line of disable_function and restart the Apache HTTPD services and it is working fine.
If you read my earlier article here, you should know IIS got PHP Manager and it is now come with Stable version 1.0.
We should thank to RuslanY, who designed the IIS PHP Manager.
PHP Manager 1.0 can be used to:
- Register PHP with IIS;
- Validate and properly configure existing PHP installations;
- Run multiple PHP versions side by side on the same server and even within the same web site;
- Check PHP runtime configuration and environment (output of phpinfo() function);
- Configure various PHP settings;
- Enable or disable PHP extensions;
- Remotely manage PHP configuration in php.ini file.
With stable version of IIS PHP Manager, you are actually able to view the recommendations and fix it within a second.
Below is the bug fixed and change since BETA version.
- Support for running different PHP versions within the same web site;
- Functionality to set IIS default document to index.php;
- Links to quickly open php.ini file and PHP error log file;
- Detection of PHP registered via CGI or ISAPI;
- Detection of PHP that is registered by using command line arguments in IIS handler mapping.
Do you think the WordPress administrator login is secure enough? As a system administrator, I have received lots of report that hackers(bad user) always logged into their WordPress administrator page and modified their themes and make the WordPress page an under attack pages.
How could them make this done? With a Wi-Fi connection from HotSpot, PC that affected by Viruses, Trojan, etc. They could easily caused this problem.
However you can get the Secure Sockey Layer (SSL) Certificate to encrypted your administrator login. To get this done, you may buy SSL certificate from your hosting provider and force your WordPress back-end with SSL(https) page.
To get this done, open the wp-config.php from your WordPress file and enter the command below from last line.(actually any line will do)
This will happen if you used WordPress Export and Import tool for WordPress to WordPress migration, you might/might not faced this problem when you migrated your WordPress from 1 server to another server but this is good for your knowledge.
I would like to migrate my WordPress blog from wordpress.com to my domain such as mickgenie.com.
1. I will go to wordpress.com administrator and export the data file to XML format to my local PC.
2. I will go to mickgenie.com administrator to restore it.
I got “timed out” where the XML is not fully restore.
Solution suggested by Mick Genie:
Continue reading Import failed for WordPress XML file?