The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
37 views

php54 not recognizing php code in file with html extension

For example, echo phpinfo() returns nothing in my .html file but index.php returns with the info wich setting needs to be adjusted? thanks
-2
votes
1answer
31 views

dependency issues while installing php tools on ubuntu [closed]

I have problems with my php installation on my ubuntu 12.10. I need to install Drush and Memcache for a drupal project but they require php5-dev and php-pear However when I try to install these ...
0
votes
0answers
17 views

Why does my PHP 5.4 CLI have a 2-3 second delay before every execution

So I'm using OSX Mountain Lion, and the default PHP (5.3) worked fine. I used php-osx.liip.ch's install script to install PHP 5.4, and that works fine in Apache, and technically executes fine on the ...
0
votes
1answer
20 views

make error in PHP_PERL

I am following the answer in this thread to make the perl module for php. am using ubuntu 12.10. unable to use PHP_PERL extension. Unable to install the extension as well The short steps are: ...
0
votes
0answers
113 views

Re-install php incl. dependencies on Debian?

I have got a major problem with apt-get and php5 modules, which results into web-application specific errors. I think a Debian upgrade (6.0.7) here went wild. I would like to downgrad php5... ...
0
votes
0answers
43 views

Phpmyadmin does not work anymore after virtualmin update

I updated Virtualmin a few days ago, but have a problem now with PhpMyAdmin. After the update (which could have been from a while ago as I didn't run an update for a while) there were security ...
0
votes
0answers
21 views

AWS Ubuntu Server Causes Download PHP file

While development i have uploaded index.php.bak and tried to access the index.php from browser it was downloading the complete PHP file from server. I immediately deleted index.php.bak , but still ...
1
vote
0answers
115 views

Should we still set cgi.fix_pathinfo=0 when configuring nginx+php5-fpm?

Security breach was found in nginx+php5-fpm default configuration in 2010. A lot of nginx+php5-fpm configuration guides tell us to set cgi.fix_pathinfo=0 to be safe. Is it still actual for current ...
1
vote
1answer
259 views

Can't link Xdebug to PHP 5.4

Today I installed/updated my previous php 5.3.x to 5.4.11. Did it accordingly how do I upgrade from php 5.3 to php 5.4.6 in ubuntu? Install was successful, but it seemed to me, that xdebug was ...
2
votes
1answer
194 views

Going crazy with php5apache2_4.dll not found

I have a computer with Win XP SP3 and I was going to install a WAMP system on it. I already had a pwerfectly working WAMP (Uniform Server, it is a portable wamp that works on usb stick) on another ...
2
votes
0answers
41 views

Apache2 and PHP5 repository down?

I've recently been trying to get PHP and Apache on my Raspberry Pi as to make it a web server but when I try to apt-get them from their respective repositories, it gives me a bunch of '404 not found'. ...
1
vote
0answers
64 views

how do I enable debug logging in php5-ldap

I have phabricator running on Ubuntu behind nginx and php5-fpm, and now trying to figure out why ldap logins fail. Is there a way to enable verbose logging of the php-ldap code? What file is the log ...
-1
votes
1answer
100 views

How do I run server side scripts from a web interface? [closed]

I'm attempting to build a web front end for LAN game servers I run every couple of months. I'm a novice at php/mysql. I'd like to get an interface running that will allow interaction with the host ...
0
votes
0answers
57 views

Using TCPDF: Getting a statement be printed on the same line

Using TCPDF to output to a PDF file. I would like to print part of the text in bold using the TCPDF statement, how should I do it? The exact output in a single line should be: How are you Alvin, I ...
0
votes
1answer
28 views

What's preventing my php on Leopard (10.5) from running?

I have an old mini running a vanilla Leopard install that I use to host low-volume sites as I learn web dev. I have successfully set up virtual hosts and they are running static placeholder sites. In ...
0
votes
0answers
29 views

how to prevent yum update from changing folder permission?

I am trying to do a yum update php* on an aws machine running amazon linux. This results in change in permission of folder /var/lib/php to root:apache. Is there any way to prevent this change in ...
4
votes
1answer
198 views

Making Apache use compiled PHP instead of bundled package on Debian

My ultimate goal is to install OwnCloud on my Debian box, a 64-bit squeeze. My setup is pretty simple. I have installed OpenPanel which in turn installs all of the required LAMP modules via APT-GET. ...
0
votes
1answer
95 views

Enable XSLT with Webmin on Ubuntu server

I am trying to install/enable XSLT for PHP on my webserver. I'm quite sure that it was running before I made an update, but now it does not work anymore. I have an Ubuntu webserver with Webmin ...
0
votes
1answer
252 views

Hiding .php extensions?

I'm having trouble hiding .php extensions on my site. for example: I want http://mysite.net/view_category.php?id=4 to show as http://mysite.net/view_category?id=4 I'm sure it's to do with the ...
2
votes
0answers
105 views

iconv error for PHP 5.3 when compiling

I get this error: -lm -lxml2 -lz -liconv -lm -lxslt -lxml2 -lz -licucore -lm -o sapi/cgi/php-cgi Undefined symbols for architecture x86_64: "_libiconv_open", referenced from: _convert in ...
2
votes
1answer
574 views

100 % cpu usage debian 32 bit due to apache processes

So there is a VPS with openvz virtualization, with debian 6.0 32 bit The problem is appearing approx. 1 week ago. The automatic security monitoring system is shutting down the vps that i'm running ...
0
votes
1answer
226 views

Questions about setting up PHP-ODBC driver for remote SQL-Server-2008 connection on CentOS-6

I have CentOS 6 and PHP 5.3.3 VPS at GoDaddy. I have to interact with remote SQL Server 2008. I've seen many tutorials and quite lost here, so: There is a way to simply yum install it ? If not, what ...
0
votes
1answer
720 views

Apache Startup doesn't work with PHP 5.3 in Debian Lenny

Today I updated PHP 5.2 to 5.3 but then Apache Startup doesn't work. Apache says: Starting web server: apache2apache2: Syntax error on line 205 of /etc/apache2/apache2.conf: Syntax error on ...
1
vote
1answer
379 views

How to execute home directory shell script file in php

How to execute /home/scripts/test.sh file in php Previously i have placed 'test.sh' file in the /usr/bin and calling in my php file like this exec('test.sh ' . escapeshellarg($testString)); But ...
0
votes
1answer
99 views

How is this even possible? PHP Memory Error — allowed memory size bytes exhausted.

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1540673 bytes) in /home/appdev/glicious/Nutrition.php on line 41 If you haven't noticed, 1540673 is two orders of ...
1
vote
1answer
766 views

PHP files are downloaded instead of getting interpreted

I'm encountring some difficulties with my Apache2/PHP5. All was well-configured and working, but after reinstalling apache2, the PHP files are displayed without being interpreted. I tried many ...
0
votes
2answers
416 views

ubuntu 10.04 command “# type php” returns nothing

I have 2 LAMP servers with ubuntu 10.04... both with php5 successfully installed. on server1 i run the command # type php in terminal and the response is: "php is /usr/bin/php" however in server2 I ...
1
vote
0answers
483 views

How to update PHP on opensuse?

How can I update my PHP 5.2.14 to PHP 5.3 on my OpenSuSE 11.1 server using YaST or any other way?
1
vote
2answers
862 views

Unable to find php binary

PHP is running fine with apache on my server. I want to use it from command line but I am unable to find the binary: root@....:~# whereis php php: root@....:~# whereis php5 php5: /etc/php5 ...
0
votes
1answer
134 views

PHP5.2.3 for debian etch?

Is it possible to get PHP5.2.3 for debian etch?