PHP is a widely-used general-purpose scripting language that is especially suited for Web development. The current version is 5.3.3, released on July 22, 2010.

learn more… | top users | synonyms

0
votes
0answers
6 views

Centos 6 - Lighttpd/ 403 error on PHP files, and issues adding website

So, I do have PHP/MySQL and PHP-FPM installed, but when I try to access PHP files, I get a 403 forbidden error. I have been looking around Google quite a lot, and not finding anything that is solving ...
0
votes
0answers
11 views

Prevent email spam from vhosts

We have a server with several vhosts (with php) running. Recently one vhost was overtaken from a "hacker" which manipulated the php scripts to send email spam. Because the other email servers blocked ...
0
votes
2answers
13 views

Numbers are not displaying properly in excel report

n excel report generation, numbers are displaying 7.70225E+11 but it should display like 770225145579 . Any one please help to solve this issue. My code is, <?php include("connection.php"); ...
0
votes
0answers
15 views

How to install PHP5.3 instead of PHP5.5 in Linux

I am fairly new to Linux (just getting set up using the Mint 16 distro), and I got everything working correctly with my Apache 2.4.9 with MySQL and PHP5.5, but I am using this for local Web ...
0
votes
0answers
19 views

php shell_exec not working in centos

i would like to convert .docx file to .html using php shell_exec my php code: $command = "libreoffice --headless -convert-to html resume.docx 2>&1"; $result = shell_exec($command); echo ...
0
votes
0answers
13 views

Windows server 2012 r2 IIS PHP

I have php installed on a windows server 2012 r2 box that is running IIS When running a script with a mail function it will hang and eventually bring this error: C:\Program Files ...
0
votes
0answers
7 views

Is mod_fastcgi-2.4.6 compatible with apache2.4.9 CentOS?

I need to install multiple php handlers in apache2.4.9 one php version as apache handler and other one I need to run as mod_fastcgi but while compiling and installing with apache 2.4.9 I'm getting a ...
0
votes
0answers
13 views

How can I compile and install Apache2.4.9 with multiple PHP versions (5.5, PHP5.4)

I have compiled apache2.4.9 and php 5.5 with php5.4 versions php 5.5 version is installed succssfully as apache handler and I tried php5.4 with cgi and enabled LoadModule cgi_module modules/mod_cgi.so ...
-1
votes
1answer
46 views

Why doesn't Google Chrome show PHP in page source?

Why doesn't Google Chrome show the PHP in the source? For example, here's a page I did (mostly with JQuery). I decided to have a small bit of PHP to fetch the IP address and display it (in a ...
-1
votes
0answers
19 views

Server to Server Queued file Transfer (Password Protected files) [closed]

I need to transfer >500 files (all of them are protected with same username and password (.htaccess file protection)) I need a PHP script to transfer them 1 by 1 (or even together, doesn't matter, ...
0
votes
1answer
21 views

Failed to open stream: No such file or directory

I have made a backup of all archives from ftp, deleted them all them copied all folders to the same place. Now I got this error: Warning: require(/../private/shADMIN/fuel/app/bootstrap.php): failed ...
0
votes
0answers
38 views

Learning a new Programming language for creating Docx files [closed]

I currently have experience in using Matlab (for university) but now no longer have access to the license. There is one specific task that I am looking to perform and am prepared/expecting to learn a ...
0
votes
0answers
10 views

phpMyAdmin No activity within 1440 seconds; please log in again. Issue

I have installed latest phpMyAdmin on Apache+php+mysql on CentOs. But after sometime of inactivity i am getting No activity within 1440 seconds; please log in again. And redirected to the ...
0
votes
0answers
4 views

Date input in PHP is not saving the DATE selected in SQL Server 2008 R2 using CodeIgniter [migrated]

Greeting folks! Why does the date I selected is not saving in my SQL Server 2008 R2? However, the date saved in my DB is 1970-01-01. Can somebody tell me why or what's the problem? or is it on my ...
-1
votes
0answers
15 views

How to debug Http 406 ERROR?

We have a "web widget" written in VB or Delphi or something that sends a request (by calling a PHP script) to our webserver (apache) to update the database. It's been working for years until yesterday ...
0
votes
1answer
12 views

Is it possible to create subwikis with MediaWiki?

I wan't to create a Wiki for our company which has several product requiring their own Wiki. Is it possible to create subwikis with MediaWiki? If so, how?
-1
votes
2answers
33 views

Converting Perl Regex to PHP [closed]

I have the following Regex in PERL which I need to convert to PHP if($line =~ m/[<]div class="row.* id="(vm_[0-9]{8,9})"[>]/i){ } I currently have the following in PHP to match it, but I'm ...
0
votes
0answers
24 views

How can I use FSContact Form to send email to database as a newsletter signup?

From the FSCF website, it appears to have the capability. As you see here, you can create a newsletter signup like this (basically it is a simple contact form that says "newsletter signup" but it's ...
0
votes
0answers
6 views

How To Read multiple Remote Text File and echo out a certain value

I have 50 readable txt files on my office website. I don't have access on my websites Cpanel. Each text file has the following format: client $user = 'lighthou_joom194'; client $id = 'P2K4k@SZ)2'; ...
2
votes
1answer
21 views

Extract text out of two lines in a file and output them in a table

I am trying to make a PHP script for my school. School's web directory has about 100 text files, one text file for each student. Every text file has a two lines like: stu $id = '12701'; stu $name = ...
0
votes
1answer
17 views

Do cronjobs run in CLI?

I am running PHP 5.5 with ZendOPcache integrated. There are two options for this extension - is cache enabled (which I've set to true), and the second one - is CLI cache enabled, which I've set to ...
0
votes
0answers
14 views

store mysql database details in linux

I have a test server and live server which has all the files the same (a cio) except I want to connect to a test copy of my msql database on the test server. How secure would it be to have a ...
0
votes
0answers
51 views

Raspberry Pi as server - stuck with users and groups

I just installed an apache2 server with php5 and mysql on my RPi (Raspbian Wheezy). I followed this tutorial: tutorial link Everything went well, even the file transfer via FTP (FileZilla). I ...
1
vote
2answers
73 views

Can't run localhost PHP server on OSX Mavericks

So i've done this before but I don't remember the command. I was able to use a directory a localhost file. I've tried sudo apachectl start but when I go to localhost the page isn't found. I've also ...
0
votes
1answer
23 views

Stop execution of a function after a given time in PHP

I have five exec() functions in my script. I want to set it up so that if a function fails to respond in a given time, the function will be killed and the next function will start its execution. ...
0
votes
0answers
16 views

Bizarre lag in HTTP connection

Running on a LAMP stack, CentOS 6, Apache 2.2.3, PHP 5.4.25, MySQL 5.5.31 Have a very complex web application. It's been running pretty smoothly for about 5 years, now. Of a sudden we've run into ...
1
vote
0answers
61 views

php PDO sqlsrv “could not find driver”

My configuration: - Windows Server 2012 - SQL Server 2012 - Apache 2.4.9 - PHP 5.5.10 My php.ini includes the line - extension=php_pdo_sqlsrv_55_ts.dll My "ext" folder includes the file - ...
0
votes
4answers
65 views

Internal server error on user_directory

Today I am trying to install httpd and mysql on my fedora 14 PC. That works fine. After this I try to create a public_html folder on the user directory and allow php to access that folder. For that I ...
0
votes
0answers
19 views

Short URLs not working with MediaWiki on nginx

I've been trying to configure Mediawiki Short URL's with nginx, but I keep getting 404 errors when trying to access the pages of my wiki. I followed this guide but changed location / to location ...
1
vote
2answers
30 views

Executing PHP from crontab

I am utilizing crontab to execute a PHP file as follows: 0 4 * * * /opt/lampstack/php/bin/php /opt/lampstack/apache2/htdocs/tests/test.php I am pretty sure that the file itself is working properly ...
0
votes
1answer
14 views

How can I install a specific version of laravel?

I've been handed over an application that is based off laravel.. however it's made in a previous version of laravel (3).. and the current laravel version is 4.. is there a way to install a specific ...
0
votes
2answers
33 views

Wamp 5.3.21 on windows 7 64 bit

I want to install PHP version 5.3.21 on my windows 7 64 bit machine. I am able to locate the binaries for 32bit version but not the 64 bit versions Does WAMP 32 bit work on a 64 bit machine like ...
0
votes
1answer
24 views

Upgrade my xampp for linux (UBUNTU) using command line

I have xampp version 1.7 but I want to upgrade it in newest version from command line. Is there any command to upgrade xampp for ubuntu using command line?
0
votes
3answers
25 views

Setting up a local webserver using CentOS on VM

im new here, and basically new at setting up a webserver... now im already googling, and searching here in stackexchange on how to setup a webserver, they tend to direct me to a working server.. i ...
0
votes
0answers
27 views

Updating old stock ticker symbols

I did a study in 2003 that produced a list of about 300 publicly-traded US stocks. Ticker symbols can change (ticker symbols can even take over an older company's previous ticker). My situation boils ...
0
votes
0answers
15 views

Has Wordpress any performarce advantage over Joomla on Google App Engine?

I wonder what are the benefits of having Wordpress over Joomla on Google's PaaS. Since Wordpress is officially supported there should be some benefits, right? I have googled for a while and haven't ...
1
vote
0answers
63 views

Received: (from www-data@localhost)

All mails coming from my server has Received: (from www-data@localhost) even though I've set 127.0.0.1 mydomain.org mydomain server2 in /etc/hosts. I think that's the reason why it's ending up in the ...
0
votes
0answers
14 views

Socksify php script

I am trying to socksify php script network connections, however I am unable to do that, script ignores the socksifyer, just connects directly. I tried using tsocks and torsocks. tsocks php ...
0
votes
3answers
50 views

Mirroring a wordpress website with wget

I'm trying to download a wordpress web-site, my blog actually, and to get the php files as well. So far I've tried - wget -rkp -l3 -np -nH --cut-dirs=1 http://www.sharons.org.uk/ wget -r ...
0
votes
2answers
49 views

PHP / Extension API mismatch

I recently upgraded to Apache 2.4.7 (x86) and PHP 5.5.9 (x86 as Apache module) on Windows 7 x64. I downloaded the Apache binary from apachelounge.com and the PHP binary from windows.php.net. Now the ...
0
votes
0answers
8 views

Metronic image tag issue on safari

Metronic theme image tag issue on safari. image tag doesn't show image when it will selected on add or selected time but in edit time it was show image.
0
votes
0answers
28 views

Somehow PHP mail() is not working but webmail is working on VPS

I'm using a vps with zpanelcp installed. Everything was working fine. But somehow all mailing capabilities using PHP mail() is not working. But Roundcube is still able to send mail perfectly. I ...
1
vote
0answers
21 views

Why Windows XP machine is not accessible from Ubuntu machine?

I am using Windows machine and using it as a sever which is properly accessible from my browser through url, but when I try to access windows directory from Ubuntu, I am not getting access to ...
0
votes
1answer
22 views

Troubleshooting HTTPD permission denied errors?

I'm attempting to run a grep within a shell script file from my web browswer (it's called from a PHP file). I'm able to run the shell script on the command line but when I attempt to run it through ...
0
votes
1answer
181 views

Owncloud WebDAV authentication possible via web interface but not desktop client

I just set up Owncloud on my shared webspace and got everything working except authentication from desktop clients. If I go to the WebDAV Url via my webbrowser it just presents me an empty form again, ...
1
vote
1answer
229 views

NginX+PHP-FPM setup: Why is this configuration workaround needed to properly set PATH_INFO? [Debian7.4]

It took several hours to find out how to properly configure NginX, but I still think I might have missed something. Mainly because this perfectly working setup raises more questions than it answers. ...
0
votes
1answer
61 views

Run java in php apache2

I wrote a simple PHP file which calls a java application. It runs on cli without problems but I can't run it on browser. Output: "Java HotSpot(TM) 64-Bit Server VM warning: ...
0
votes
2answers
201 views

CentOS: installing a GD Library

I'm running PHP version 5.3.5. Now I need to install GD Library. When I run: --> yum info php-gd, it says Missing php-common 5.1.6-43.el5_10. php-gd-5.1.6-43.el5_10.x86_64 from updates has ...
1
vote
1answer
79 views

Apache2 + mod_fcgid + php stopped working after upgrade from Debian squeeze to wheezy

I've updated my server from Debian squeeze to Debian wheezy. On this server are several apache2 vhost which running php via mod_fcgid (I'm also using mod_suexec but this shouldn't be the problem). ...
0
votes
1answer
26 views

Can I remove the “New table” button from the Navigation Tree in PHPMyAdmin (4.0.9)?

Every database listed in the left-hand pane has a "New" button for creating a new table, i.e. the first item in this tree. It takes up room and I don't need it. There doesn't seem to be a config ...