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
1answer
80 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
23 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
193 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
282 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
123 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
53 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
52 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
57 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
287 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
46 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 ...
1
vote
0answers
202 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 ...
1
vote
0answers
38 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
76 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
82 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
12 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
57 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
26 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 ...
1
vote
1answer
455 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
1k 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
189 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
1k 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
211 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
47 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 ...
0
votes
0answers
72 views

nohup process commands to detect if process is still running and if not, re-run process in lamp stack

I am running nohup to keep a php script running in the background. Is there anyway to ensure the process keeps running? Is there a command that can check to see if the process is still running and if ...
0
votes
0answers
19 views

Why isn't Apache starting on xampp

Sorry, I searched a lot and i know that there are lots of posts reporting problems like this but none of them helped me. I installed xampp on Windows 8 but when I click to start apache it doesn't ...
0
votes
1answer
221 views

object not found in lampp ubuntu 13.10

am a newbie linux user.i have installed xampp 1.8.3-2(lampp)on ubuntu13.10 and configured it. i paste my wwwfolder to ubuntu 13.10 in/opt/lampp/htdocs. now the owner of www folder is root with ...
0
votes
0answers
68 views

how to get php executable path file of a system remotely?

I want to debug php codes and I am using zend debugger in Eclipse environment and I have a remote server access(ftp). I used PHP_BINDIR to find out about the path file of the php executable file: ...
0
votes
0answers
15 views

No debug menu for php in Eclipse

I'd like to set up debug for PHP in Eclipse, the problem is that I don't know where to find the debug configuration. In this tutorial there's a PHP section with an item "Debug" but in my Eclipse ...
2
votes
1answer
67 views

How is it possible for a person to upload files to a site they don't have credentials to? [closed]

A little while ago I got this email: hi there, i am [name], security expert. your website is not secured. you use a weak password. and you didnt install security to prevent hacking/malware ...
1
vote
1answer
33 views

Options to configure Apache to take into account other folders despite /var/www

I am using Ubuntu 12.10, and I know that if I place a php file (index.php) under /var/www, and I visit localhost:80/index.php, it will work fine. However, say that I have multiple projects in order ...
0
votes
1answer
68 views

Should I use Python or C for a language interpreter? [closed]

I'm planning on writing a language interpreter for a custom language of mine. The language will work similarly to PHP in that it will be run off of a web server and the code will be executed in the ...
0
votes
1answer
105 views

Wordpress theme's index.php is not showing updates in browser's source. Godaddy hosting

I've run into an issue with a client's Wordpress site, which is hosted on godaddy (Ultimate Web Hosting Linux) I'm trying to update their theme's index.php file. Any changes that I make to that file ...
1
vote
1answer
450 views

ffmpeg - joining 2 videos to play one after another

I'm trying to join two video files together - I'm piping the commands through PHP exec() as these videos are selected by the user. I can get it working, in that it does output a video of the correct ...
0
votes
0answers
63 views

PhpStorm 6.0 say that a built-in Web server is not available

I am currently using JetBrains PhpStorm 6.0 and when trying to add a PHP Built-in Web Server to use the Debug function with Xdebug as interpreter, and it says that it is only available since PHP 5.4. ...
2
votes
2answers
844 views

OSX, Failed to listen on 0.0.0.0:80 (reason: Permission denied)

I'm on OSX Mavericks. I installed PHP 5.5 from http://php-osx.liip.ch/. When I go to localhost in a browser I get a page that says, "It Works!" which is not a page I created so I am not sure where it ...
0
votes
1answer
59 views

Secure Apache PHP installation: Using the right user:group

i want to "perfectly" protect my apache PHP installation on a linux server. In the history, i had problems with script-virues / exploids, so it needs to be a "secure" solution. My current solution: ...
2
votes
1answer
73 views

How can i block my testing domain for search engine

How can I block this site, that I administer (http://test.puttinout.com/), for search engines? As I have noticed, Google has indexed most of our pages, but we don't need that Google indexes those ...
0
votes
0answers
227 views

PHP 5.4.24 is upgraded, but the previous version 5.2.6 is still running in XAMPP 1.6.7

I'm using XAMPP 1.6.7 with PHP 5.2.6 on Windows 7. I'm trying to upgrade PHP 5.4.24 without upgrading XAMPP. I tried to upgrade XAMPP several times by taking a backup of the htdocs and data folder ...
0
votes
0answers
22 views

Host name of Rediffmail which can be used with IMAP

What is the host name and port number Rediff provides which can be used with IMAP to access emails received.
0
votes
0answers
37 views

How to reset the Apache web server password on Mac?

When I try to start the Apache web server on our Mac it asks for a password. I forgot the password and I know that I was the one who put the password on it because I'm the only person in our family ...
0
votes
2answers
792 views

The requested URL xxx was not found on this server

I have been tearing my hair on this for hours..please help.. I have been running several websites on localhost for months without a hitch. Unfortunately last week I had do do a fresh instal of ...
0
votes
2answers
93 views

Stream and save video broadcast on website [closed]

We have been given a request to provide a live feed of our monthly meetings on our website. Our web site uses PHP on Linux (LAMP). I am thinking of getting an IP or USB camera in the meeting room and ...
0
votes
0answers
53 views

How do I unformat unused rows in libreoffice calc columns to reduce loading time/memory use in PHPExcel

I have just started using PHPExcel to try to read data for application development. I have found that a few of my libreoffice calc 3.4 spreadsheets can be read quickly while most take a very long ...
0
votes
0answers
32 views

Enabling PHP on a SSL website in Virtualmin

I have PHPMyAdmin installed on my server (from apt-get, Ubuntu 13.10) and force it to run secure. But when I go to it it just server the PHP pages as plain text. The main/default website works fine in ...
0
votes
1answer
93 views

apache access.log requests from localhost to localhost

My server is spamming via postfix from www-data user. In apache access.log: 90.156.208.121 - - [20/Jan/2014:17:24:01 +0300] "GET /treningi.php HTTP/1.0" 200 21025 "-" "Mozilla/5.0 (Windows NT 5.1; ...
0
votes
1answer
34 views

I've made a php page as a cron job, how should I format the page?

So, a while back I was looking at how to make them, got it just about figured out, and then found out with 000webhost you can only link to files in your website, and couldn't write a command line ...
2
votes
1answer
194 views

PHP won't run on command line Linux

I think I may just be missing something simple, but I can not get PHP to run anything on the command line. I'm using Linux Ubuntu. All the exact same files run as expected via the web. I have tried ...
-1
votes
1answer
50 views

Parsing arrays in PHP [closed]

I am developing a PHP application and I have the following array: print_r($array) Array ( [0] => stdClass Object ( [can_see_custom_stories] => 1 [name] => caitlinhamm ...
0
votes
0answers
62 views

How do I set up an Event Viewer filter to show only PHP errors?

I'm running PHP on Windows Server 2008. I have figured out how to log errors to Event Viewer. How do I create a filtered view to show me only PHP errors? Can I set up a view that only shows PHP ...
0
votes
0answers
72 views

CentOS upgrade PHP compile modules

I'm currently using CentOS 6.4 which by default comes with PHP 5.3.3 (installed via yum install php). I now wish to upgrade to the latest version of PHP. I already downloaded and compiled PHP. ...