Solved

Apache service stops when viewing dompdf examples

Posted on 2008-10-24
3
1,028 Views
Last Modified: 2013-12-13
Hi All
 
I am trying to use dompdf on windows Vista 32. When i try to use the examples provided with dompdf my apache services stops with an error. See the error below:
 
The Apache service named reported the following error:
>>> [Fri Oct 24 14:23:31 2008] [notice] Disabled use of AcceptEx() WinSock2 API.  
 
I have tried added the following to my httpd.conf file but it still happens:
 
Win32DisableAcceptEx
 
If anybody has had this problem before i would really appreciate some help as the options for converting html to pdf in php is very limited.
 
Thanks
0
Comment
Question by:mwskuzzy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Expert Comment

by:sh0e
ID: 22798785
AcceptEx is usually harmless.  Normally that should not cause your server to fail.
Do you have a firewall/antivirus?  Check that it's not causing problems with Apache.

Are you sure there aren't any other errors?
0
 

Author Comment

by:mwskuzzy
ID: 22799618
That is the only error. I have a firewall and antivirus but apache runs fine. This only happens when i try to convert html to pdf using dompdf.

There is another application error but it does not make much sense. This is the error:

Faulting application apache.exe, version 2.2.6.0, time stamp 0x46f2f454, faulting module ntdll.dll, version 6.0.6001.18000, time stamp 0x4791a7a6, exception code 0xc0000005, fault offset 0x000659c3, process id 0x1744, application start time 0x01c935d353cec9ad.

Thanks
0
 
LVL 16

Accepted Solution

by:
sh0e earned 500 total points
ID: 22801948
I am not familiar with dompdf.

Did you follow all the directions for installing dompdf on windows?
Have you tried invoking dompdf directly?
http://www.digitaljunkies.ca/dompdf/usage.php#cli
Try using the class directly:
http://www.digitaljunkies.ca/dompdf/usage.php#class
Try saving it to a file:
http://www.digitaljunkies.ca/dompdf/faq.php#save
Set PHP's memory limit higher

Is there a specific point where it fails?
If it's really socket failure, perhaps it's the amount of data being streamed when you have to view the pdf?
Or perhaps there isn't enough memory? dompdf appparently requires a large amount of memory allocated to it.
What are your complete server specifications? PHP version, Apache version, other services running (IIS), etc
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question