Posts Tagged ‘PHP

Inline function

In: Web Hosting

1 Sep 2010

What do you mean by inline function? lynxus replied: inline code? ie randomly in a php html file.. No idea other wise? Some html <?php echo "hello"; ?> Some html jwebhost replied: Wrong section of the forum? For more information click here.

I want to install 2 versions of php(5.1 and 5.3)on a same linux (rhel5)machine…is it possible? if yes then how to do it? please help. InstaCarma_Support replied: Yes, you can have two php versions installed on a linux machine. While configuring give different name for binaries(Eg:php5.1 and php5.3). The path can be same. akasharya replied: [...]

I have reconfigured the php by typing the following commands, </SPAN> The problem I am having is, when I restart the apache and look at the phpinfo.php it looks same as before the recompile see below. I have tried the following but it didn’t work either Httpd.conf I have tried to change the libphp5.so as [...]

Hello, I am having troubles in share the php sessions between my subdomains. This have happened to me on a old host and I got to found out it was a problem related to Suhosin extension. At that time, disabling Suhosin would solve the problem. Now, it seems a bit more complex.. This host have [...]

After rebooting server I keep getting message like this: Warning: session_start() [function.session-start]: open(/tmp/sess_f4d7708f2793f95b5f75437d44cb6e92, O_RDWR) failed: Read-only file system (30) in /home/account/public_html/domain.com/index.php on line 2 It looks like it’s a problem with some permissions of tmp folder on the server. But I can’t even delete (logged in as root) tmp files manually, like I have no [...]

Which os do you suggest?

In: VPS

30 Aug 2010

Which *UNIX OS do you suggest for a protected stable and fast environnement. I will be using it for IP.Board 3.2 – Joomla – WordPress I already played with Debian/Ubuntu on my locals but I never noticed any difference. nice price replied: Debian with dotdeb.org-packages for latest php5 and mysql5. BTCentral Ben replied: For a [...]

My vps is suspend

In: VPS

29 Aug 2010

Hi all, My VPS is susspended by vps provider due my client hosted fraud php script. 1. can all of you give me idea how to stop my client do like this? 2. will my VPS provider turn my vps on? if my met this issue? Thanks for your great idea. Kindly Regards, Steve. Morhsn [...]

What should the permissions of system folders and files be (etc, usr, var, sbin, tmp….)? If I use a php shell I can change dirs into the root of my server and browse system folders and files that were created with insecure permissions. Seems like a big security risk. How do I prevent this and [...]